<?php

namespace App\Http\Controllers;

use App\User;
use Illuminate\Support\Facades\DB;

class IndexController extends Controller
{
    /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct()
    {
        //
    }

    public function index(){
        return "测试数据 lumen";
    }

    public function db(){
        $ret = User::whereIn('unionId', [1, 2])->get();
        return $ret;
    }

}
